

PM_FUNC_NORM_ATTRIB SettingGetValue( POKE_SETTING:iSettingNum )
{
	pokemod_funcstart_debug( "SettingGetValue %s", SETTING_NAMES[iSettingNum] );

	new String:szData[64];
	nfv_get_data( FileName( FILE_SETTINGS ), "PokeMod", SETTING_NAMES[iSettingNum], szData, charsmax(szData) );

	pokemod_funcend_debug( "SettingGetValue %s", szData );

	return szData;
}

PM_FUNC_NORM_ATTRIB SettingSetValue( POKE_SETTING:iSettingNum, String:szValue[] )
{
	pokemod_funcstart_debug( "SettingSetValue %s = %s", SETTING_NAMES[iSettingNum], szValue );

	nfv_set_data( FileName( FILE_SETTINGS ), "PokeMod", SETTING_NAMES[iSettingNum], szValue );

	pokemod_funcend_debug( "SettingSetValue" );
}



